Drop aliases for outline radius
authorMatthias Clasen <mclasen@redhat.com>
Sun, 17 Sep 2017 20:49:33 +0000 (16:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Sep 2017 20:57:53 +0000 (16:57 -0400)
The outline-{top,bottom}-{left,right}-radius names have been
deprecated for a while, so lets remove them. Everybody should
just use the -gtk-prefixed names for these properties.

gtk/gtkcssshorthandpropertyimpl.c
gtk/gtkcssstylepropertyimpl.c

index 748fb8b1c521f773cc381520383d855d20d707d7..7562d0952ad1b2d262330ee0e730dca0200a4a35 100644 (file)
@@ -1126,7 +1126,6 @@ _gtk_css_shorthand_property_init_properties (void)
                                           outline_radius_subproperties,
                                           parse_border_radius,
                                           pack_border_radius);
-  _gtk_style_property_add_alias ("-gtk-outline-radius", "outline-radius");
   _gtk_css_shorthand_property_register   ("outline",
                                           G_TYPE_NONE,
                                           outline_subproperties,
index dcf93617a97aec4a8297bcecf42f7e0fce46a554..3a3db71d3f9937cab5cb6f153b79fdf1d4969cd3 100644 (file)
@@ -1237,7 +1237,6 @@ _gtk_css_style_property_init_properties (void)
                                           NULL,
                                           _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
                                                                      _gtk_css_number_value_new (0, GTK_CSS_PX)));
-  _gtk_style_property_add_alias ("-gtk-outline-top-left-radius", "outline-top-left-radius");
   gtk_css_style_property_register        ("-gtk-outline-top-right-radius",
                                           GTK_CSS_PROPERTY_OUTLINE_TOP_RIGHT_RADIUS,
                                           G_TYPE_NONE,
@@ -1247,7 +1246,6 @@ _gtk_css_style_property_init_properties (void)
                                           NULL,
                                           _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
                                                                      _gtk_css_number_value_new (0, GTK_CSS_PX)));
-  _gtk_style_property_add_alias ("-gtk-outline-top-right-radius", "outline-top-right-radius");
   gtk_css_style_property_register        ("-gtk-outline-bottom-right-radius",
                                           GTK_CSS_PROPERTY_OUTLINE_BOTTOM_RIGHT_RADIUS,
                                           G_TYPE_NONE,
@@ -1257,7 +1255,6 @@ _gtk_css_style_property_init_properties (void)
                                           NULL,
                                           _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
                                                                      _gtk_css_number_value_new (0, GTK_CSS_PX)));
-  _gtk_style_property_add_alias ("-gtk-outline-bottom-right-radius", "outline-bottom-right-radius");
   gtk_css_style_property_register        ("-gtk-outline-bottom-left-radius",
                                           GTK_CSS_PROPERTY_OUTLINE_BOTTOM_LEFT_RADIUS,
                                           G_TYPE_NONE,
@@ -1267,7 +1264,6 @@ _gtk_css_style_property_init_properties (void)
                                           NULL,
                                           _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
                                                                      _gtk_css_number_value_new (0, GTK_CSS_PX)));
-  _gtk_style_property_add_alias ("-gtk-outline-bottom-left-radius", "outline-bottom-left-radius");
 
   gtk_css_style_property_register        ("background-clip",
                                           GTK_CSS_PROPERTY_BACKGROUND_CLIP,